package com.bzkj.basicinfo.mapper.check;

import com.bzkj.basicinfo.domain.check.WmsCheckDetailEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * WMS复核明细 Mapper接口
 *
 * @author system
 * @date 2025-10-22
 */
public interface WmsCheckDetailMapper {

    List<WmsCheckDetailEntity> selectCheckDetailList(WmsCheckDetailEntity entity);

    List<WmsCheckDetailEntity> selectDetailsByTaskId(@Param("checkTaskId") Long checkTaskId);

    int insertCheckDetail(WmsCheckDetailEntity entity);

    int batchInsertCheckDetail(@Param("list") List<WmsCheckDetailEntity> list);

    int updateCheckDetail(WmsCheckDetailEntity entity);

    int deleteDetailsByTaskId(@Param("checkTaskId") Long checkTaskId);
}
